package com.inossem.warehousestorage_inossem.bean.base;

import com.inossem.warehousestorage_inossem.bean.common.Bean;

/**
 * Created by leij on 2017/6/13.
 */

public class CheckVersionBean extends Bean {

    /**
     * code : 200
     * msg : 公共响应信息
     * data : {"version":{"versionCode":"2","versionName":"1.0.0.1","versionDescription":"版本描述信息","md5":"lskdfjweifewmvcow0","url":"http://www.baidu.com","size":"12343432","focus":"1"}}
     */

    private String code;
    private String msg;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * version : {"versionCode":"2","versionName":"1.0.0.1","versionDescription":"版本描述信息","md5":"lskdfjweifewmvcow0","url":"http://www.baidu.com","size":"12343432","focus":"1"}
         */

        private VersionBean version;

        public VersionBean getVersion() {
            return version;
        }

        public void setVersion(VersionBean version) {
            this.version = version;
        }

        public static class VersionBean {
            /**
             * versionCode : 2
             * versionName : 1.0.0.1
             * versionDescription : 版本描述信息
             * md5 : lskdfjweifewmvcow0
             * url : http://www.baidu.com
             * size : 12343432
             * focus : 1
             */

            private String versionCode;
            private String versionName;
            private String versionDescription;
            private String md5;
            private String url;
            private String size;
            private String focus;

            public String getVersionCode() {
                return versionCode;
            }

            public void setVersionCode(String versionCode) {
                this.versionCode = versionCode;
            }

            public String getVersionName() {
                return versionName;
            }

            public void setVersionName(String versionName) {
                this.versionName = versionName;
            }

            public String getVersionDescription() {
                return versionDescription;
            }

            public void setVersionDescription(String versionDescription) {
                this.versionDescription = versionDescription;
            }

            public String getMd5() {
                return md5;
            }

            public void setMd5(String md5) {
                this.md5 = md5;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getSize() {
                return size;
            }

            public void setSize(String size) {
                this.size = size;
            }

            public String getFocus() {
                return focus;
            }

            public void setFocus(String focus) {
                this.focus = focus;
            }
        }
    }
}
